﻿using Castle.Core.Logging;
using Microsoft.Extensions.Logging;
using QuickCode.IApplication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuickCode.Application
{
    public class JobApplication:IJobApplication
    {
        private readonly ILogger<JobApplication> _logger;
        public JobApplication(ILogger<JobApplication> logger)
        {
            _logger = logger;
        }
        public void WriteLog()
        {
            Console.WriteLine("Writing........");
            _logger.LogInformation("Writen Mesage At RunTime： {0}", DateTime.Now);
        }
    }
}
